package com.xjrsoft.module.visual.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xjrsoft.module.visual.dto.DynamicQueryDto;
import com.xjrsoft.module.visual.dto.SaveVisualDbVo;
import com.xjrsoft.module.visual.dto.TestDbDto;
import com.xjrsoft.module.visual.entity.XjrVisualConfig;
import com.xjrsoft.module.visual.entity.XjrVisualDb;
import com.xjrsoft.module.visual.entity.XjrVisualHomeRelation;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Db服务接口
 * </p>
 *
 * @author jobob
 * @since 2021-03-10
 */
public interface IXjrVisualDbService extends IService<XjrVisualDb> {
    Boolean testConnectionDb(TestDbDto dto) throws SQLException, ClassNotFoundException;

    List<Map<String,Object>> dynamicQuery(DynamicQueryDto dto) throws Exception;

}
